package com.woniu.dao;

import com.woniu.entity.TMajor2;
import com.woniu.entity.TMajor2Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMajor2Dao {
    long countByExample(TMajor2Example example);

    int deleteByExample(TMajor2Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(TMajor2 record);

    int insertSelective(TMajor2 record);

    List<TMajor2> selectByExample(TMajor2Example example);

    TMajor2 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TMajor2 record, @Param("example") TMajor2Example example);

    int updateByExample(@Param("record") TMajor2 record, @Param("example") TMajor2Example example);

    int updateByPrimaryKeySelective(TMajor2 record);

    int updateByPrimaryKey(TMajor2 record);
}